package DesignMode.Memento;

/**
 * @author VX5
 * @Title: MJC
 * @ProjectName DataStructure
 * @Description: TODO
 * @date ${DAT}15:20
 */
public class Caretaker {
    private Memento memento;

    public Memento getMemento() {//得到备忘录
        return memento;
    }

    public void setMemento(Memento memento) {
        this.memento = memento;
    }
}
